package com.cqjtu.eecs.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @description: 自然班成绩分析视图对象
 * @author: 徐文升
 * @create: 2022-03-19 15:36
 **/

@Data
@EqualsAndHashCode
public class ClassAnalysisVo {

    @ApiModelProperty(value = "班级名")
    private String className;

    @ApiModelProperty(value = "学生总数")
    private int stuNum = 0;

    @ApiModelProperty(value = "已修读课程门数")
    private int attendedCourse = 0;

    @ApiModelProperty(value = "已修读学分")
    private float credit = 0f;

    @ApiModelProperty(value = "平均成绩最高分数")
    private float avgMax = 0f;

    @ApiModelProperty(value = "平均成绩最高的课程名")
    private String avgMaxCourseName;

    @ApiModelProperty(value = "平均成绩最低分数")
    private float avgMin = 0f;

    @ApiModelProperty(value = "平均成绩最低的课程名")
    private String avgMinCourseName;

    @ApiModelProperty(value = "学生平均成绩最高的分数")
    private float stuAvgMax = 0f;

    @ApiModelProperty(value = "学生平均成绩最高学生姓名")
    private String stuAvgMaxName;

    @ApiModelProperty(value = "学生平均成绩最低的分数")
    private float stuAvgMin = 0f;

    @ApiModelProperty(value = "学生平均成绩最低学生姓名")
    private String stuAvgMinName;

    @ApiModelProperty(value = "不及格率")
    private String flunkDegree;

    @ApiModelProperty(value = "所有课程平均成绩（降序）")
    private List<CourseScoreVo> courseAvgScoreList;

    @ApiModelProperty(value = "二级指标点总数")
    private int targetNum = 0;

    @ApiModelProperty(value = "完全支撑数")
    private int wholeSupport = 0;

    @ApiModelProperty(value = "部分支撑数")
    private int partSupport = 0;

    @ApiModelProperty(value = "完全不支撑数")
    private int notSupport = 0;

}
